package com.hjy.study.studyspringcloudapi.controller;

import com.hjy.study.studyspringcloudapi.configuration.log.GwsLogger;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RequestMethod;
import org.springframework.web.bind.annotation.RestController;

@RestController
public class apiController {

    @RequestMapping(value = "/api",method = RequestMethod.GET)
    public String api(){
        System.out.printf("=======api========");
        GwsLogger.info("=======api========");
        return "api";
    }
}
